<div class="login-bg">

</div>

<div class="login">
	<h1>网格走访平台</h1>
	<form nz-form [formGroup]="validateForm" class="login-form" (ngSubmit)="onSubmit()">
		<nz-form-item>
			<nz-form-control nzErrorTip="用户名不能为空!">
				<nz-input-group nzPrefixIcon="user">
					<input type="text" nz-input formControlName="loginName" placeholder="请输入用户名" />
				</nz-input-group>
			</nz-form-control>
		</nz-form-item>
		<nz-form-item>
			<nz-form-control nzErrorTip="密码不能为空!">
				<nz-input-group nzPrefixIcon="lock">
					<input type="password" nz-input formControlName="password" placeholder="请输入密码" />
				</nz-input-group>
			</nz-form-control>
		</nz-form-item>
		<div nz-row class="login-form-margin">
			<div nz-col [nzSpan]="12">
				<label nz-checkbox formControlName="remember">
					<span>记住密码</span>
				</label>
			</div>
			<div nz-col [nzSpan]="12">
				<!-- <a class="login-form-forgot">Forgot password</a> -->
			</div>
		</div>
		<button nz-button class="login-form-button login-form-margin" [nzType]="'primary'"
			[nzLoading]="nzLoading">登录</button>
		<!-- Or <a> register now! </a> -->
	</form>
</div>